﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Krile.Kernel.Control.Surface;

namespace Highkick.Common
{
    class HatenaStar : CommandButton
    {
        Data.HStatus parent;
        public HatenaStar(Data.HStatus parent)
        {
            this.parent = parent;
        }

        public override string Description
        {
            get { return "スターを付けます。"; }
        }

        public override System.Drawing.Image IconImage
        {
            get { return Properties.Resources.addstar; }
            set { }
        }

        public override void OnMouseClick(object sender, ChainMouseEventArgs e)
        {
            Core.Plugin.HOperation.HStatusControl.SetFavorite(parent.UID, true);
        }
    }
}
